serialize

open override fun serialize(input: N): ValidationResult<TomlElement>

Serializes the provided input to a TomlElement

Return

ValidationResult<TomlElement> - the resulting TomlElement, or a TomlNull along with an error message if there is a problem.

Author

fzzyhmstrs

Since

0.5.0

Parameters

input

T the value to serialize. This may not be the stored value, if this validation is being used as a parser for something else.